package com.tanhua.mongodbManager.domain.mongod;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @ClassName -> QuestioOption
 * @Description
 * @Author OHC
 * @Date 2021/8/19 星期四
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("question_option")
public class QuestionOption implements Serializable {
    private ObjectId id;
    private ObjectId questionId;
    private String context;
    private String weight;
}
